/*
 * This is written by Lulu Han and Yunguo Guan.
 * E-mail: locomotive_crypto@163.com
 */ 

#include "timer.h"

time_point<high_resolution_clock> now_time() { 
	return high_resolution_clock::now();
}

double time_from(const time_point<high_resolution_clock>& s) {
	return std::chrono::duration_cast<std::chrono::milliseconds>(high_resolution_clock::now() - s).count();
}
